Controversy: The Case for Multiple Inheritance in C++

نویسنده

  • Jim Waldo
چکیده

Multiple inheritance is a difficult and complex feature added to C# at release 2.0. Cargill argues that the addition was a step backward in that the feature adds complexity to the language without adding functionality. His basis for the latter half of this claim is that no example of multiple inheritance has been given which cannot be rewritten into a functionally equivalent example which uses single inheritance and aggregation instead of multiple inheritance. I examine Cargill's arguments, and then sketch an example which uses multiple inheritance but which cannot be rewritten to be functionally equivalent by using single inheritance and aggregation. I then distinguish among three forms of inheritance, and argue that most attempts to give an example of multiple inheritance have attempted to use the one form which is the least likely to need that feature. @ Computing Systems, Vol. 4 . No. 2 . Spring 1991 157

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Controversy: The Case Against Multiple Inheritance in C++

Multiple inheritance (MI) is now part of C#. MI greatly complicates the language, burdening those who learno write and read C#. The costs would be justified if MI enriched the language, making it easier to express programs. But the literature contains no convincing examples of MI solving programming problems. Still, the ANSI X3J16 standards committee for C# has embraced MI by adopting Ellis & S...

متن کامل

A Theoretical Study of Solidarity in American Society: The Case of the “Ground Zero Mosque” Controversy

The paper uses the case study of the controversy regarding the construction of a mosque near the site of the 9/11 terrorist attacks in Manhattan, New York, to analyze the different theoretical approaches to the concept of solidarity. It is argued that the presence of affectional solidarity which is based on feelings of caring, friendship and love was very limited in the case under study. Instea...

متن کامل

Multiple Sclerosis Diagnosed in a Woman With Von-Willebrand Disease: A Case Report

Background: Von-Willebrand Disease (VWD) is the most common inherited bleeding disorder with an autosomal inheritance pattern. Multiple Sclerosis (MS) is a neurological disease, causing neurodegeneration and demyelination of the central nervous system through autoimmune mechanisms, and is a major cause of non-traumatic disabilities in youths. Some studies have shown the higher plasma activity o...

متن کامل

Co-inheritance of α-and β-thalassemia: challenges in prenatal diagnosis of thalassemia

Background: The double heterozygous state of α/β thalassemia may alter the hematological indices and modify the phonotype. In addion, definite characterizaon of co-inheritance of α- and β-thalassemia heterozygous carriers may change the process of genec counseling. Materials and Methods: An Iranian couple with low hematological indices was analyzed for α-globin gene deleons using mulpl...

متن کامل

Bazex-Dupre-Christol syndrome: A case report

Bazex-Dupre-Christol (BDC) syndrome is clinically characterizedby multiple basal cell carcinomas of the face that mainly occurduring the second and third decade of life, follicular atrophodermapredominantly of the dorsum sides of the hands and feetand generalized hypotrichosis; sometimes with pili torti andtrichorrhexis nodosa. Features commonly associated with BDCare milia, hypohidrosis and ca...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Computing Systems

دوره 4  شماره 

صفحات  -

تاریخ انتشار 1991